<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			document.write('<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.6.1.js"><\/script>');
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/* 修复 toast 样式不生效问题 */
	.uni-toast,
	.uni-toast--default,
	.uni-toast--top,
	.uni-toast--bottom,
	uni-toast {
		z-index: 999999999999!important;
	}
	
	/* 兼容不同平台的 toast 类名 */
	.uni-toast__content,
	.uni-toast__icon {
		z-index: 999999999999!important;
	}
	
	/* 针对微信小程序平台的兼容 */
	.wx-toast,
	.wx-toast-content {
		z-index: 999999999999!important;
	}
	
	/* 针对 H5 平台的兼容 */
	.toast-container {
		z-index: 999999999999!important;
	}
	/*每个页面公共css */
	.amap-overlay-text-container {
		border-color: transparent!important;
		background-color: transparent!important;
		box-shadow: none!important;
		user-select: none;
		padding: 0!important;
	}

	.amap-marker{
		pointer-events: none!important;
	}

	.amap-icon {
		pointer-events: auto;
	}
@font-face {
     font-family: 'Source Han Sans'; 
     src: url('~@/static/font/SourceHanSans-Normal.otf');
   }

	 @font-face {
		font-family: 'title-font';
		src: url('~@/static/font/title-font.woff2');
	}
</style>
